package com.itmk.web.notice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Setter
@Getter
public class Notice implements Serializable {
    private static final long seriaLVersionUID = 1L;
    /**公告id**/
    @TableId(value = "notice_id",type = IdType.AUTO)
    private Integer noticeId;
    /**类型id**/
    private Integer cagegoryId;
    /**公告标题**/
    private String noticeTitle;
    /**公告内容**/
    private String noticeText;
    /**发布时间**/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
}
